name_filter :task do |names, configurations, options|
  task_sym = options[:task].to_sym
  names.delete_if do |name|
    !configurations[name].find_task(task_sym)
  end
end
